package com.bwie.service;

import com.bwie.pojo.Tactics;
import com.bwie.util.R;
import com.bwie.vo.GoodVo;
import com.bwie.vo.PageVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author 段阳
 * @version 1.0
 * Create by 2024/5/14 15:27
 */
public interface GoodService {
    R findGoodsList(PageVo pageVo);

    R findTypeList(Integer pid);

    R uploadPhoto(MultipartFile file) throws IOException;

    R uploadVideo(MultipartFile file) throws IOException;

    R addNewGood(GoodVo goodVo);

    R upGoodRecom(Integer id);

    R upTacticStatus(Integer id);

    R addNewTactic(Tactics tactics);

    R typeList();

    R getVCode() throws IOException;
}